import React, { Component } from 'react'
import connect from './store/connect'

class Count extends Component {
  render() {
    return (
      <>
     
                {this.props.num}
      </>      
    )
  }

  componentDidMount(){
    console.log(this.props)
  }

}
//connect 高阶函数
export default connect(Count);
// export default Count;
